package com.eptok.gw.szcups.cups;

import org.apache.mina.util.ExpirationListener;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import ys8583.parse.IOMessage;

/**
 *@author:heqishan, Email:heqishan@gmail.com
 *2013-3-6 下午08:09:22
 */
public class ExpirationCupsMessageListener implements ExpirationListener<IOMessage>{
	
	private static final Logger log = LoggerFactory.getLogger(ExpirationCupsMessageListener.class);
	
	public void expired(IOMessage ioMessage) {
		try{
			//TODO 记录详细数据
			log.info("已过时的银联投递数据:" + String.valueOf(ioMessage.getReqMesField(11)));
		}catch(Exception e){
			//do nothing
			e.printStackTrace();
		}
	}
}
